//
//  NSObject+RWAdditions.m
//  AudioDating
//
//  Created by Ray on 2021/12/25.
//

#import "NSObject+RWAdditions.h"

@implementation NSObject (RWAdditions)

- (BOOL)rw_delegateCanSelector:(SEL)selector {
    
    id obj = [self valueForKey:@"delegate"];
    
    return obj && [obj respondsToSelector:selector];
}

@end
